package com.tuda.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.tuda.common.annotation.Excel;
import com.tuda.common.core.domain.BaseEntity;

/**
 * 货运中转对象 tuda_order_transfer
 *
 * @author Ys
 * @date 2023-07-14
 */
public class TudaOrderTransfer extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 关联订单 */
    @Excel(name = "关联订单")
    private Long orderId;

    /** 中转段 */
    @Excel(name = "中转段")
    private String name;

    /** 中转分公司 */
    @Excel(name = "中转分公司")
    private String transitBranch;

    /** 分公司负责人 */
    @Excel(name = "分公司负责人")
    private String headPhone;

    /** 运输人 */
    @Excel(name = "运输人")
    private String transporter;

    /** 运输人电话 */
    @Excel(name = "运输人电话")
    private String transporterPhone;

    @Excel(name = "车牌号")
    private String plateNumber;

    /** 到收费用 */
    @Excel(name = "到收费用")
    private BigDecimal amount = new BigDecimal(0.00);;

    /** 欠反 */
    @Excel(name = "欠反")
    private BigDecimal owes = new BigDecimal(0.00);;

    /** 中转费 */
    @Excel(name = "中转费")
    private BigDecimal transferFee = new BigDecimal(0.00);

    /** 中转地 */
    @Excel(name = "中转地")
    private String transitPoint;

    /** 结清状态 */
    @Excel(name = "结清状态")
    private Long state;

    /** 备注 */
    @Excel(name = "备注")
    private String notes;

    @Excel(name = "0 未确认， 1 已确认")
    private Boolean refund;
    @Excel(name = "1 中转， 2 备注")
    private Integer type;

    private BigDecimal totalAmount;

    private String ids;

    /**
     * 车型
     */
    private String vehicleModel;

    /** 起始地 */
    private String origin;

    /** 目的地 */
    private String dest;

    /** 利润 */
    private BigDecimal profit;

    /** 业务员提成 */
    private BigDecimal commission;

    /** 业务员 */
    private String userName;

    public BigDecimal getProfit() {
        return profit;
    }

    public void setProfit(BigDecimal profit) {
        this.profit = profit;
    }

    public BigDecimal getCommission() {
        return commission;
    }

    public void setCommission(BigDecimal commission) {
        this.commission = commission;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getVehicleModel() {
        return vehicleModel;
    }

    public void setVehicleModel(String vehicleModel) {
        this.vehicleModel = vehicleModel;
    }

    public String getOrigin() {
        return origin;
    }

    public void setOrigin(String origin) {
        this.origin = origin;
    }

    public String getDest() {
        return dest;
    }

    public void setDest(String dest) {
        this.dest = dest;
    }

    public BigDecimal getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(BigDecimal totalAmount) {
        this.totalAmount = totalAmount;
    }

    public String getIds() {
        return ids;
    }

    public void setIds(String ids) {
        this.ids = ids;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setOrderId(Long orderId)
    {
        this.orderId = orderId;
    }

    public Long getOrderId()
    {
        return orderId;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setTransitBranch(String transitBranch)
    {
        this.transitBranch = transitBranch;
    }

    public String getTransitBranch()
    {
        return transitBranch;
    }
    public void setHeadPhone(String headPhone)
    {
        this.headPhone = headPhone;
    }

    public String getHeadPhone()
    {
        return headPhone;
    }
    public void setTransporter(String transporter)
    {
        this.transporter = transporter;
    }

    public String getTransporter()
    {
        return transporter;
    }
    public void setTransporterPhone(String transporterPhone)
    {
        this.transporterPhone = transporterPhone;
    }

    public String getTransporterPhone()
    {
        return transporterPhone;
    }
    public void setAmount(BigDecimal amount)
    {
        this.amount = amount;
    }

    public BigDecimal getAmount()
    {
        return amount;
    }
    public void setOwes(BigDecimal owes)
    {
        this.owes = owes;
    }

    public BigDecimal getOwes()
    {
        return owes;
    }
    public void setTransferFee(BigDecimal transferFee)
    {
        this.transferFee = transferFee;
    }

    public BigDecimal getTransferFee()
    {
        return transferFee;
    }
    public void setState(Long state)
    {
        this.state = state;
    }

    public Long getState()
    {
        return state;
    }
    public void setNotes(String notes)
    {
        this.notes = notes;
    }

    public String getNotes()
    {
        return notes;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getPlateNumber() {
        return plateNumber;
    }

    public void setPlateNumber(String plateNumber) {
        this.plateNumber = plateNumber;
    }

    public Boolean getRefund() {
        return refund;
    }

    public void setRefund(Boolean refund) {
        this.refund = refund;
    }

    public String getTransitPoint() {
        return transitPoint;
    }

    public void setTransitPoint(String transitPoint) {
        this.transitPoint = transitPoint;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("orderId", getOrderId())
                .append("name", getName())
                .append("transitBranch", getTransitBranch())
                .append("headPhone", getHeadPhone())
                .append("transporter", getTransporter())
                .append("transporterPhone", getTransporterPhone())
                .append("plateNumber", getPlateNumber())
                .append("amount", getAmount())
                .append("owes", getOwes())
                .append("transferFee", getTransferFee())
                .append("transitPoint", getTransitPoint())
                .append("state", getState())
                .append("notes", getNotes())
                .append("refund", getRefund())
                .append("type", getType())
                .append("updateTime", getUpdateTime())
                .append("createTime", getCreateTime())
                .toString();
    }
}
